home *** CD-ROM | disk | FTP | other *** search
- .geometry "version 0.1";
- v1 = .free(0.144022, -0.307065, "1");
- v2 = .free(0.788043, -0.048913, "2");
- v3 = .free(0.074369, 0.38911, "3");
- l1 = .l.vv(v1, v2);
- l2 = .l.vv(v2, v3);
- l3 = .l.vv(v3, v1);
- c1 = .c.vv(v1, v3, .invisible);
- c2 = .c.vv(v3, v1, .invisible);
- c3 = .c.vv(v1, v2, .invisible);
- c4 = .c.vv(v2, v1, .invisible);
- c5 = .c.vv(v3, v2, .invisible);
- c6 = .c.vv(v2, v3, .invisible);
- v5 = .v.cc(c6, c5, 2);
- v7 = .v.cc(c2, c1, 2);
- v9 = .v.cc(c3, c4, 2);
- l4 = .l.vv(v1, v9, .yellow);
- l5 = .l.vv(v9, v2, .yellow);
- l6 = .l.vv(v2, v5, .yellow);
- l7 = .l.vv(v5, v3, .yellow);
- l8 = .l.vv(v3, v7, .yellow);
- l9 = .l.vv(v7, v1, .yellow);
- l10 = .l.vlperp(v9, l1, .invisible);
- l11 = .l.vlperp(v1, l5, .invisible);
- v10 = .v.ll(l10, l11, .yellow);
- l12 = .l.vlperp(v7, l3, .invisible);
- l13 = .l.vlperp(v3, l9, .invisible);
- v11 = .v.ll(l12, l13, .yellow);
- l14 = .l.vlperp(v5, l2, .invisible);
- l15 = .l.vlperp(v3, l6, .invisible);
- l16 = .l.vlperp(v5, l2, .invisible);
- v15 = .v.ll(l16, l15, .yellow);
- l17 = .l.vv(v11, v10, .green);
- l18 = .l.vv(v10, v15, .green);
- l19 = .l.vv(v15, v11, .green);
- v4 = .v.cc(c2, c1, 1, .red);
- v6 = .v.cc(c3, c4, 1, .red);
- v8 = .v.cc(c6, c5, 1, .red);
- l20 = .l.vv(v1, v4, .red);
- l21 = .l.vv(v4, v3, .red);
- l22 = .l.vv(v6, v1, .red);
- l23 = .l.vv(v6, v2, .red);
- l24 = .l.vv(v8, v2, .red);
- l25 = .l.vv(v8, v3, .red);
- l26 = .l.vv(v10, v10, .red);
- l27 = .l.vlperp(v6, l1, .invisible, .longline);
- l28 = .l.vlperp(v1, l23, .invisible, .longline);
- v12 = .v.ll(l28, l27, .red);
- l29 = .l.vlperp(v3, l24, .invisible, .longline);
- l30 = .l.vlperp(v2, l25, .invisible, .longline);
- v13 = .v.ll(l29, l30, .red);
- l31 = .l.vlperp(v4, l3, .invisible, .longline);
- l32 = .l.vlperp(v1, l21, .invisible, .longline);
- v14 = .v.ll(l32, l31, .red);
- l33 = .l.vv(v14, v12, .magenta);
- l34 = .l.vv(v12, v13, .magenta);
- l35 = .l.vv(v13, v14, .magenta);
- .text("Napoleon's Theorem:");
- .text("");
- .text("(See napoleon.t). This figure illustrates that the equilateral");
- .text("triangles constructed on the sides can be inward or outward. The");
- .text("magenta and green triangles formed from the centers are both");
- .text("equilateral.");
-